package com.chrray.position.pojo.vo.web;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chrray.position.domain.FdJobPostings;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author LM
 * @date 2024/9/2 10:18
 */
@Data
public class FdJobPostingsExeVo extends FdJobPostings {


    @ApiModelProperty(value = "竞聘状态:1-待录用/2-已录用/3-已完工")
    @TableField(exist = false)
    @Transient
    private Integer jobState;

    @ApiModelProperty(value = "申请时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    @Transient
    private Date applyTime;
}
